﻿using SqlSugar;
using System.ComponentModel.DataAnnotations;

namespace HiSport.Application.HiSportService.Bas.BasSiteTypeManagement.Dtos
{

    /// <summary>
    /// 场地类型创建或者修改输入输出参数
    /// </summary>
    public class BasSiteTypeCreateUpdateInputDto
    {

        /// <summary>
        /// 场地类型ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 运动类型Code（字典值）
        /// </summary>
        public string SportsEventsTypeCode { get; set; }

        /// <summary>
        ///  场地类型名称
        /// </summary>
        public string SiteTypeName { get; set; }

        /// <summary>
        ///  图片地址
        /// </summary>
        public string Image { get; set; } = "";

        /// <summary>
        /// 排序序号
        /// </summary>
        public int Seq { get; set; }

        /// <summary>
        /// 时间间隔
        /// </summary>
        public int Interval { get; set; }

        /// <summary>
        /// 开始-看板时间
        /// </summary>
        [Required, StringLength(20)]
        public string StartKanbanTime { get; set; }

        /// <summary>
        /// 结束-看板时间
        /// </summary>
        [Required, StringLength(20)]
        public string EndKanbanTime { get; set; }

        /// <summary>
        ///  场馆Id
        /// </summary>
        public long VenueId { get; set; }
        
    }


    /// <summary>
    /// 场馆下的场地类型创建或者修改输入输出参数
    /// </summary>
    public class BasSiteTypeVenueCreateUpdateInputDto
    {
        /// <summary>
        /// 场地类型ID
        /// </summary>
        public long VenueId { get; set; }
    }
}
